package ca.concordia.soen6461.wichf.dao;

import java.util.Date;
import java.util.List;

import ca.concordia.soen6461.wichf.entity.ScheduledEvent;
import ca.concordia.soen6461.wichf.entity.User;

public interface ScheduledEventDao {

	public List<ScheduledEvent> find(Date date);

	public List<ScheduledEvent> find(Date from, Date to);
	
	public List<ScheduledEvent> find(final Date from, final Date to, final User user, final ScheduledEvent.Type type);

	public List<ScheduledEvent> find(User user);

	public ScheduledEvent delete(User user, Date date);

	public void save(ScheduledEvent event);

}